//
//  JingChaiDangDIYou.m
//  MDDNew
//
//  Created by 孙昊坤 on 15/10/30.
//  Copyright © 2015年 heqing. All rights reserved.
//

#pragma mark -- 精彩当地游（折扣详情）

#import "JingChaiDangDIYou.h"

@interface JingChaiDangDIYou ()

@end

@implementation JingChaiDangDIYou

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self addWeb];
    
}

// 添加web
- (void)addWeb
{
    UIWebView * webView = [[UIWebView alloc] initWithFrame:[UIScreen mainScreen].bounds];
    
    NSString *string = [NSString stringWithFormat:@"http://m.qyer.com/z/deal/%@/?source=app&client_id=qyer_ios&track_app_version=6.8&track_deviceid=3D292DEC-1F82-4FE7-9AE7-A1866F5F24E7", self.ids];
    
    NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString:string]];
    [self.view addSubview: webView];
    [webView loadRequest:request];
}

@end

// http://m.qyer.com/z/deal/53167/?source=app&client_id=qyer_ios&track_app_version=6.8&track_deviceid=3D292DEC-1F82-4FE7-9AE7-A1866F5F24E7


